import 'package:enterprise_v6_app/app/components/custom_app_bar.dart';
import 'package:enterprise_v6_app/app/components/custom_modele/custom_card.dart';
import 'package:enterprise_v6_app/app/components/custom_modele/custom_row_purple.dart';
import 'package:enterprise_v6_app/app/components/custom_modele/custom_row_title.dart';
import 'package:enterprise_v6_app/app/core/core.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/standing_book_page/operating_ledger_page/operating_ledger_details_page/operating_company_details.controller.dart';

/// 公司详情
class OperatingCompanyDetails extends StatelessWidget {
   OperatingCompanyDetails({super.key});
  final controller = Get.put(OperatingCompanyDetailsController());
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: AppColors.bg_color_grey,
      appBar: CustomAppBar(
        titleText: '公司详情',
      ),
      body: Container(
        padding: EdgeInsets.all(16.w),
        child:  CustomCard(
          title: '单位名称：${controller.operatingLedgerReceiptLists.applyDepartmentName}公司',
          content: const Column(
            children: [
              CustomRowPurple(
                title: '资质等级：',
                content: '甲级',
              ),
              CustomRowTitle(
                title: '评价等级：',
                content: '4.9分',
              ),
              CustomRowTitle(
                title: '负责人：',
                content: '张三',
              ),
              CustomRowTitle(
                title: '联系电话：',
                content: '158XXXXXXXX',
              ),
              CustomRowTitle(
                title: '经营范围：',
                content: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
              ),
            ],
          ),
        ),
      ),
    );
  }
}
